#ifndef _mpu6050_h
#define _mup6050_h

void MPU6050_writeReg(unsigned char regaddress,unsigned data);

unsigned char MPU6050_readReg(unsigned char regaddress);

void MPU6050_init(void);

unsigned char MPU6050_getID(void);

void MPU6050_getData(short int *accx,short int *accy,short int *accz,
										 short int *gyrox,short int *gyroy,short int *gyroz);

float MPU6050_Transform(float value,float URV,float LRV);


#endif
